package fivestar.model.dao;

import java.util.List;

import fivestar.model.entity.Guest;

public interface GuestDao {
	
	  void create(Guest guest) throws RuntimeException;

      void delete(Guest guest) throws RuntimeException;

      void update(Guest guest) throws RuntimeException; 

      Guest find(String dni) throws RuntimeException;

      List<Object[]> findAll() throws RuntimeException;
      
      List<Object[]> findlByDni(String dni) throws RuntimeException;
      
      List<Object[]> findlByLastName(String lastName) throws RuntimeException;

}
